@import 'iconfont.scss';
page {
  background-color: #f6f6f6;
  color: #221e1f;
  font-size: 28rpx;
  word-break: break-all;
}

page,
view,
text,
image,
input,
textarea,
scroll-view,
navigator {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

image {
  max-width: 100%;
}

.clearfix {
  zoom: 1;
}
.clearfix:after,
.clearfix:before {
  content: '';
  display: table;
  clear: both;
}
.fl {
  float: left !important;
}
.fr {
  float: right !important;
}
.al {
  text-align: left !important;
}
.ac {
  text-align: center !important;
}
.ar {
  text-align: right !important;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

.over-line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.over-line2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.over-line3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.mt0 {
  margin-top: 0 !important;
}
.mt10 {
  margin-top: 10rpx !important;
}
.mt20 {
  margin-top: 20rpx !important;
}
.mt30 {
  margin-top: 30rpx !important;
}
.mt40 {
  margin-top: 40rpx !important;
}
.mt50 {
  margin-top: 50rpx !important;
}
.ml50 {
  margin-left: 50rpx !important;
}
.mr50 {
  margin-right: 50rpx !important;
}
.mb40 {
  margin-bottom: 40rpx !important;
}

.hr20 {
  border-top: 20rpx solid #f6f6f6 !important;
}

checkbox .wx-checkbox-input {
  border-radius: 4px;
  width: 30rpx;
  height: 30rpx;
  background-color: transparent;
  padding: 0 !important;
  margin: 0 !important;
}
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  border: 1px solid #e95506 !important;
  background: #e95506 !important;
}
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  border-radius: 4px;
  width: 30rpx;
  height: 30rpx;
  line-height: 30rpx;
  text-align: center;
  font-size: 24rpx;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
}

radio .wx-radio-input {
  border-radius: 50%;
  width: 30rpx;
  height: 30rpx;
  padding: 0 !important;
  margin: 0 !important;
}
radio .wx-radio-input.wx-radio-input-checked {
  border: 1px solid #ffda43 !important;
  background: #ffda43 !important;
}
radio .wx-radio-input.wx-radio-input-checked::before {
  border-radius: 50%;
  width: 30rpx;
  height: 30rpx;
  line-height: 30rpx;
  text-align: center;
  font-size: 20rpx;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
}

.color-gray {
  color: #909090;
}
.color-orange {
  color: #ff5618;
}
.color-green {
  color: #37c640;
}
.color-yellow {
  color: #fbb90b;
}
.color-red {
  color: #ff0000;
}

// common
.mask {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.4);
}

.com-empty {
  width: 100%;
  text-align: center;
  padding: 72rpx 0;
  image {
    display: block;
    width: 371rpx;
    height: 201rpx;
    margin: 0 auto;
  }
  .text {
    text-align: center;
    margin-top: 50rpx;
    color: #999;
  }
}

.person-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f6f6f6;
  padding: 30rpx 0;
  &:last-of-type {
    border-bottom: none;
  }
  .img {
    width: 200rpx;
    height: 200rpx;
    overflow: hidden;
    border-radius: 8rpx;
    flex-shrink: 0;
    position: relative;
    image {
      width: 100%;
      height: 100%;
    }
    .medal {
      width: 30rpx;
      height: 36rpx;
      position: absolute;
      top: 0;
      left: 16rpx;
      z-index: 2;
    }
  }
  .texts {
    width: 100%;
    padding-left: 30rpx;
    .tops {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .name {
        display: inline-flex;
        align-items: center;
        text {
          font-size: 28rpx;
          font-weight: bold;
        }
        i {
          margin-left: 10rpx;
          font-size: 24rpx;
          color: #fbb90b;
        }
      }
      .flower {
        width: 40%;
        display: inline-flex;
        align-items: center;
        color: #fbb90b;
        i {
          font-size: 24rpx;
          margin-right: 4rpx;
        }
      }
    }
    .line {
      width: 100%;
      display: flex;
      margin-top: 16rpx;
      view {
        font-size: 26rpx;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .td1 {
        width: 60%;
      }
      .td2 {
        width: 40%;
      }
    }
  }
}

.login-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  opacity: 0;
}
